/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine SDK - core\system\io\stream
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AEIFileStreamInput.h
// Author:		Gianluca Belardelli
// Date:		25/02/2014
//
/////////////////////////////////////////////////////////////////////////
#ifndef _AEIFILESTREAMINPUT_INL_
#define _AEIFILESTREAMINPUT_INL_

AE_FORCEINLINE AEIFileStreamInput::AEIFileStreamInput( AEIFileStreamManager *lpManager )
{
	m_lpParentMgr = pManager;
	m_bEOF = true; // no data till successfully opened
	m_uiLookupHash = 0;
}

AE_FORCEINLINE AEIFileStreamManager *AEIFileStreamInput::GetManager( void ) const
{
	return m_lpParentMgr;
}

AE_FORCEINLINE AEBOOL32 AEIFileStreamInput::IsEOF( void )
{
	return m_bEOF;
}

AE_FORCEINLINE const char *AEIFileStreamInput::GetInitialDataDir( void ) const
{
	return m_sInitialDataDir;
}

AE_FORCEINLINE const char *AEIFileStreamInput::GetMetadata( void ) const
{
	return m_sMetaData;
}

AE_FORCEINLINE void AEIFileStreamInput::SetLookupHash( AEUINT32 uiHash )
{
	m_uiLookupHash = uiHash;
}

AEUINT32 AEIFileStreamInput::GetLookupHash( void ) const
{
	return m_uiLookupHash;
}

#endif // _AEIFILESTREAMINPUT_INL_
